package com.example.internetplus.domain.query;

import com.example.internetplus.domain.enums.JobEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
@AllArgsConstructor
@ApiModel
public class Userquery {
    @ApiModelProperty("用户名")
    private String userName;
    @Max(1)
    @Min(0)
    @ApiModelProperty("工作")
    private JobEnum job;
}
